﻿GDownloadUrl = function(url, onload, postBody, postContentType) 
{
	/// <summary>Retrieves the resource from the given URL and calls the onload function with the text of the document as first argument, and the HTTP response status code as the second. If the request times out, the onload function may be called instead with null as the first argument and -1 as the second. This function defaults to sending an HTTP GET request. To send an HTTP POST request instead, pass data within the optional postBody argument. If the data being sent is not of type "application/x-www-form-urlencoded," pass the content type as a string in the postContentType argument. This method is subject to cross-site scripting restrictions. Note that this method uses the underlying XmlHttpRequest implementation of the browser.</summary>
	/// <param name="url" type="String">Url of the resource to be downloaded.</param>
	/// <param name="onload" type="String">Callback that will be fire when the resource will be loaded.</param>
	/// <param name="postBody" type="String" optional="true">(Optional) Data of the POST HTTP Request.</param>
	/// <param name="postContentType" type="String" optional="true">(Optional) Type of the data of the POST HTTP Request.</param>
	/// <returns type="Boolean"></returns>
}
